home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 4 / The 640 Meg Shareware Studio CD-ROM Volume IV (Data Express)(1994).ISO / clang / cenvid.zip / WAIT.BAT < prev   
DOS Batch File  |  1993-07-17  |  808b  |  16 lines

  1. @echo OFF
  2. REM **************************************************************************
  3. REM *** Wait.bat - Wait for a specified number of seconds before returing. ***
  4. REM ***            No check is done on the input being valid.              ***
  5. REM ***            This example would wait ten seconds: " Wait 10"         ***
  6. REM **************************************************************************
  7.  
  8. CEnvi " start=time(); while( difftime(time(),start) < %1 ) ; "
  9.  
  10. REM ********************************************************************
  11. REM *** The following method would have been an easier way to wait   ***
  12. REM *** the same amount of time, but it wouldn't have been such fun. ***
  13. REM ********************************************************************
  14.  
  15. REM CEnvi suspend(%1 * 1000)
  16.